package com.treasure.mall.biz.bo.module;

import com.treasure.mall.zbq.common.ienum.banner.ModuleType;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * <p>
 * +---------------------------------------------------------
 * * @package: com.treasure.mall.biz.bo.module
 * * @author: guomw (guomwchen@foxmail.com)
 * * @date: 2020/8/10 2:25 下午
 * * @since: V1.0.0
 * +---------------------------------------------------------
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 * 
 */
@Data
@NoArgsConstructor
public class HomeIconConfig implements ModuleBase {


    @Override
    public ModuleType getModuleType() {
        return ModuleType.MODULE_ICON;
    }

    private String specType;

    /**
     * 图片地址
     */
    private String src;

    private String title;


    public HomeIconConfig(String type, String url, String name) {
        this.specType = type;
        this.src = url;
        this.title = name;
    }
}
